package com.batchaps.classes;

import javax.microedition.lcdui.Image;

import com.batchaps.gameentity.VisibleGameEntity;

public class Cell extends VisibleGameEntity{
	
	private float _scale = 1.0f;

	public float get_scale() {
		return _scale;
	}

	public void set_scale(float _scale) {
		this._scale = _scale;
	}
	
	public Cell(Image[] sp , int idx , int w , int h , float posX , float posY){
		_sprites = new Sprite2D[1];
		_nSprites = 1;
		_sprites[0] = new Sprite2D(sp , w , h , w , h ,posX , posY);
		_posX = posX;
		_posY = posY;
		_width = w;
		_height = h;
		
	}

	public void Update() {
		// TODO Auto-generated method stub
		
	}
	
	
	public void Move(float x , float y){
		_posX += x;
		_posY += y;
		_sprites[0].Move(_posX, _posY);
	}
}
